import type { Route } from '../index.type'
import Layout from '@/layout/index.vue'
import { createNameComponent } from '../createNode'
const route: Route[] = [
  {
    path: '/community',
    component: Layout,
    redirect: '/community/qq',
    meta: { title: '55555', icon: 'sfont system-shequ' },
    hideMenu:true,
    alwayShow:false
    // children: [
    //   {
    //     path: 'qq',
    //     component: createNameComponent(() => import('@/views/main/community/qq.vue')),
    //     meta: { title: 'message.menu.community.qq' }
    //   },
    //   {
    //     path: 'site',
    //     component: createNameComponent(() => import('@/views/main/community/site.vue')),
    //     meta: { title: 'message.menu.community.site' }
    //   },
    // ]
  }
]

export default route